import {Http} from '@/utils'

export function _getFollow(data) {
  return Http({
    method: 'get',
    params: {
      ...data
    },
    url:'/userRelation/myFollow'
  })
}

export function _postFollow(id) {
  return Http({
    url: '/userRelation',
    method: 'post',
    body: {
      followId: id
    }
  })
}

export function _delFollow(id) {
  return Http({
    url: '/userRelation/userRelation',
    method: 'delete',
    body: {
      followId: id
    }
  })
}
